package com.ruoyi.wetest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压测数据统计时间记录对象 wetest_stat_log
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class WetestStatLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 测试id */
    @Excel(name = "测试id")
    private String testId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 子类型 */
    @Excel(name = "子类型")
    private String subType;

    /** 时间戳（秒） */
    @Excel(name = "时间戳", readConverterExp = "秒=")
    private Long timestamps;

    /** 值 */
    @Excel(name = "值")
    private Long value;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTestId(String testId) 
    {
        this.testId = testId;
    }

    public String getTestId() 
    {
        return testId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSubType(String subType) 
    {
        this.subType = subType;
    }

    public String getSubType() 
    {
        return subType;
    }
    public void setTimestamps(Long timestamps) 
    {
        this.timestamps = timestamps;
    }

    public Long getTimestamps() 
    {
        return timestamps;
    }
    public void setValue(Long value) 
    {
        this.value = value;
    }

    public Long getValue() 
    {
        return value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("testId", getTestId())
            .append("type", getType())
            .append("subType", getSubType())
            .append("timestamps", getTimestamps())
            .append("value", getValue())
            .append("remark", getRemark())
            .toString();
    }
}
